
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>前言 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="notes/正则表达式.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter active" data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="notes/正则表达式.html">
            
                <a href="notes/正则表达式.html">
            
                    
                    第一章：正则表达式
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="notes/正则表达式入门.html">
            
                <a href="notes/正则表达式入门.html">
            
                    
                    1.1 正则表达式入门
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="notes/Python中的正则表达式.html">
            
                <a href="notes/Python中的正则表达式.html">
            
                    
                    1.2 Python中的正则表达式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="notes/基本正则表达式.html">
            
                <a href="notes/基本正则表达式.html">
            
                    
                    1.3 基本正则表达式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="notes/分组.html">
            
                <a href="notes/分组.html">
            
                    
                    1.4 分组
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="notes/先行断言.html">
            
                <a href="notes/先行断言.html">
            
                    
                    1.5 先行断言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="notes/标记.html">
            
                <a href="notes/标记.html">
            
                    
                    1.6 标记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="notes/替换与正则表达式编译.html">
            
                <a href="notes/替换与正则表达式编译.html">
            
                    
                    1.7 替换与正则编译
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8" data-path="notes/正则表达式练习.html">
            
                <a href="notes/正则表达式练习.html">
            
                    
                    1.8 正则表达式练习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="notes/Python爬虫学习目标.html">
            
                <a href="notes/Python爬虫学习目标.html">
            
                    
                    第二章：爬虫与Requests
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="notes/Requests的简单使用.html">
            
                <a href="notes/Requests的简单使用.html">
            
                    
                    2.1 Requests的简单使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="notes/深入了解Requests.html">
            
                <a href="notes/深入了解Requests.html">
            
                    
                    2.2 深入了解Requets
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="notes/结构化与非结构化.html">
            
                <a href="notes/结构化与非结构化.html">
            
                    
                    第三章：非结构化与结构化数据提取
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="notes/正则抓取.html">
            
                <a href="notes/正则抓取.html">
            
                    
                    3.1 使用正则的爬虫
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="notes/xpath与XML.html">
            
                <a href="notes/xpath与XML.html">
            
                    
                    3.2 Xpath与XML类库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="notes/lxml.html">
            
                <a href="notes/lxml.html">
            
                    
                    3.3 LXML库的使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="notes/Xpath爬虫案例.html">
            
                <a href="notes/Xpath爬虫案例.html">
            
                    
                    3.4 案例：贴吧图片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="notes/Json与JsonPath.html">
            
                <a href="notes/Json与JsonPath.html">
            
                    
                    3.5 Json与Json数据获取
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="notes/实例：糗事百科网站抓取.html">
            
                <a href="notes/实例：糗事百科网站抓取.html">
            
                    
                    3.6 糗事百科网站爬虫
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >前言</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x4E3A;&#x4EC0;&#x4E48;&#x9700;&#x8981;&#x5B66;&#x4E60;&#x722C;&#x866B;">&#x4E3A;&#x4EC0;&#x4E48;&#x9700;&#x8981;&#x5B66;&#x4E60;&#x722C;&#x866B;</h1>
<p>&#x9996;&#x5148;&#x6211;&#x4EEC;&#x601D;&#x8003;&#x4E00;&#x4E2A;&#x95EE;&#x9898;&#xFF0C;&#x90FD;&#x8BF4;&#x73B0;&#x5728;&#x662F;&quot;&#x5927;&#x6570;&#x636E;&#x65F6;&#x4EE3;&quot;&#xFF0C;&#x90A3;&#x6570;&#x636E;&#x4ECE;&#x4F55;&#x800C;&#x6765;&#xFF1F;</p>
<ul>
<li><p>&#x4F01;&#x4E1A;&#x4EA7;&#x751F;&#x7684;&#x7528;&#x6237;&#x6570;&#x636E;&#xFF1A;&#x767E;&#x5EA6;&#x6307;&#x6570;&#x3001;&#x963F;&#x91CC;&#x6307;&#x6570;&#x3001;TBI&#x817E;&#x8BAF;&#x6D4F;&#x89C8;&#x6307;&#x6570;&#x3001;&#x65B0;&#x6D6A;&#x5FAE;&#x535A;&#x6307;&#x6570;</p>
</li>
<li><p>&#x6570;&#x636E;&#x5E73;&#x53F0;&#x8D2D;&#x4E70;&#x6570;&#x636E;&#xFF1A;&#x6570;&#x636E;&#x5802;&#x3001;&#x56FD;&#x4E91;&#x6570;&#x636E;&#x5E02;&#x573A;&#x3001;&#x8D35;&#x9633;&#x5927;&#x6570;&#x636E;&#x4EA4;&#x6613;&#x6240;</p>
</li>
<li><p>&#x653F;&#x5E9C;/&#x673A;&#x6784;&#x516C;&#x5F00;&#x7684;&#x6570;&#x636E;&#xFF1A;&#x4E2D;&#x534E;&#x4EBA;&#x6C11;&#x5171;&#x548C;&#x56FD;&#x56FD;&#x5BB6;&#x7EDF;&#x8BA1;&#x5C40;&#x6570;&#x636E;&#x3001;&#x4E16;&#x754C;&#x94F6;&#x884C;&#x516C;&#x5F00;&#x6570;&#x636E;&#x3001;&#x8054;&#x5408;&#x56FD;&#x6570;&#x636E;&#x3001;&#x7EB3;&#x65AF;&#x8FBE;&#x514B;&#x3002;</p>
</li>
<li><p>&#x6570;&#x636E;&#x7BA1;&#x7406;&#x54A8;&#x8BE2;&#x516C;&#x53F8;&#xFF1A;&#x9EA6;&#x80AF;&#x9521;&#x3001;&#x57C3;&#x68EE;&#x54F2;&#x3001;&#x827E;&#x745E;&#x54A8;&#x8BE2;</p>
</li>
<li><p>&#x722C;&#x53D6;&#x7F51;&#x7EDC;&#x6570;&#x636E;&#xFF1A;&#x5982;&#x679C;&#x9700;&#x8981;&#x7684;&#x6570;&#x636E;&#x5E02;&#x573A;&#x4E0A;&#x6CA1;&#x6709;&#xFF0C;&#x6216;&#x8005;&#x4E0D;&#x613F;&#x610F;&#x8D2D;&#x4E70;&#xFF0C;&#x90A3;&#x4E48;&#x53EF;&#x4EE5;&#x9009;&#x62E9;&#x62DB;/&#x505A;&#x4E00;&#x540D;&#x722C;&#x866B;&#x5DE5;&#x7A0B;&#x5E08;&#xFF0C;&#x81EA;&#x5DF1;&#x52A8;&#x624B;&#x4E30;&#x8863;&#x8DB3;&#x98DF;&#x3002;</p>
</li>
</ul>
<h2 id="&#x722C;&#x866B;&#x662F;&#x4EC0;&#x4E48;">&#x722C;&#x866B;&#x662F;&#x4EC0;&#x4E48;</h2>
<p>&#x7F51;&#x7EDC;&#x722C;&#x866B;&#xFF08;&#x53C8;&#x88AB;&#x79F0;&#x4E3A;&#x7F51;&#x9875;&#x8718;&#x86DB;&#xFF0C;&#x7F51;&#x7EDC;&#x673A;&#x5668;&#x4EBA;&#xFF0C;&#x5728;FOAF&#x793E;&#x533A;&#x4E2D;&#x95F4;&#xFF0C;&#x66F4;&#x7ECF;&#x5E38;&#x7684;&#x79F0;&#x4E3A;&#x7F51;&#x9875;&#x8FFD;&#x9010;&#x8005;&#xFF09;&#xFF0C;&#x662F;&#x4E00;&#x79CD;&#x6309;&#x7167;&#x4E00;&#x5B9A;&#x7684;&#x89C4;&#x5219;&#xFF0C;&#x81EA;&#x52A8;&#x5730;&#x6293;&#x53D6;&#x4E07;&#x7EF4;&#x7F51;&#x4FE1;&#x606F;&#x7684;&#x7A0B;&#x5E8F;&#x6216;&#x8005;&#x811A;&#x672C;&#x3002;&#x53E6;&#x5916;&#x4E00;&#x4E9B;&#x4E0D;&#x5E38;&#x4F7F;&#x7528;&#x7684;&#x540D;&#x5B57;&#x8FD8;&#x6709;&#x8682;&#x8681;&#x3001;&#x81EA;&#x52A8;&#x7D22;&#x5F15;&#x3001;&#x6A21;&#x62DF;&#x7A0B;&#x5E8F;&#x6216;&#x8005;&#x8815;&#x866B;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="notes/正则表达式.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 第一章：正则表达式">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"前言","level":"1.1","depth":1,"next":{"title":"第一章：正则表达式","level":"1.2","depth":1,"path":"notes/正则表达式.md","ref":"notes/正则表达式.md","articles":[{"title":"1.1 正则表达式入门","level":"1.2.1","depth":2,"path":"notes/正则表达式入门.md","ref":"notes/正则表达式入门.md","articles":[]},{"title":"1.2 Python中的正则表达式","level":"1.2.2","depth":2,"path":"notes/Python中的正则表达式.md","ref":"notes/Python中的正则表达式.md","articles":[]},{"title":"1.3 基本正则表达式","level":"1.2.3","depth":2,"path":"notes/基本正则表达式.md","ref":"notes/基本正则表达式.md","articles":[]},{"title":"1.4 分组","level":"1.2.4","depth":2,"path":"notes/分组.md","ref":"notes/分组.md","articles":[]},{"title":"1.5 先行断言","level":"1.2.5","depth":2,"path":"notes/先行断言.md","ref":"notes/先行断言.md","articles":[]},{"title":"1.6 标记","level":"1.2.6","depth":2,"path":"notes/标记.md","ref":"notes/标记.md","articles":[]},{"title":"1.7 替换与正则编译","level":"1.2.7","depth":2,"path":"notes/替换与正则表达式编译.md","ref":"notes/替换与正则表达式编译.md","articles":[]},{"title":"1.8 正则表达式练习","level":"1.2.8","depth":2,"path":"notes/正则表达式练习.md","ref":"notes/正则表达式练习.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2019-04-28T14:44:20.594Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-05-08T02:50:45.307Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

